package com.zxcz.domain;

import java.util.Date;

/*
 * 固件包
 */
public class Firmware {
	private Integer id;		
	private String path;	//升级包存储相对路径
	private String url;		//下载地址
	private String version;	//版本号
	private String md5;		//升级包校验值
	private Date createdAt;
	private Date updatedAt;
	private Integer userId;	//内容商用户id
	private User user;		//用户
	
	public Integer getId() {
		return id;
	}
	public void setId(Integer id) {
		this.id = id;
	}
	public String getPath() {
		return path;
	}
	public void setPath(String path) {
		this.path = path;
	}
	public String getUrl() {
		return url;
	}
	public void setUrl(String url) {
		this.url = url;
	}
	public String getVersion() {
		return version;
	}
	public void setVersion(String version) {
		this.version = version;
	}
	public String getMd5() {
		return md5;
	}
	public void setMd5(String md5) {
		this.md5 = md5;
	}
	public Date getCreatedAt() {
		return createdAt;
	}
	public void setCreatedAt(Date createdAt) {
		this.createdAt = createdAt;
	}
	public Date getUpdatedAt() {
		return updatedAt;
	}
	public void setUpdatedAt(Date updatedAt) {
		this.updatedAt = updatedAt;
	}
	public Integer getUserId() {
		return userId;
	}
	public void setUserId(Integer userId) {
		this.userId = userId;
	}
	public User getUser() {
		return user;
	}
	public void setUser(User user) {
		this.user = user;
	}
	@Override
	public String toString() {
		return "Firmware [id=" + id + ", path=" + path + ", url=" + url + ", version=" + version + ", md5=" + md5
				+ ", createdAt=" + createdAt + ", updatedAt=" + updatedAt + ", userId=" + userId + ", user=" + user
				+ "]";
	}
	
	
}
